package com.klikmee.sms.core.base.util;

public class Constants {

	public static final int		SERVICE_FLAG_SEMANTIC_OK							= 1;
	public static final int		SERVICE_FLAG_BAD_SEMANTIC							= 0;

	// Message type
	public static final int		MESSAGE_TYPE_SMS									= 1;
	public static final int		MESSAGE_TYPE_MMS									= 2;
	public static final int		MESSAGE_TYPE_EMS									= 3;
	public static final int		MESSAGE_TYPE_WAP_PUSH_SERVICE_LOADED				= 4;
	public static final int		MESSAGE_TYPE_WAP_PUSH_SERVICE_INDICATED				= 5;
	public static final int		MESSAGE_TYPE_FLASH									= 6;
	public static final int		MESSAGE_TYPE_SMS_UNICODE							= 7;

	// Payment invoice types
	public static final int		PI_TYPE_CHARGED_MESSAGE								= 1;
	public static final int		PI_TYPE_SMS_BULK									= 2;
	//	public static final int		PI_TYPE_FREE_SMS										= 4;

	public static final String	PROVIDER_MTS										= "MTS";
	public static final String	PROVIDER_TELENOR									= "TELENOR";
	public static final String	PROVIDER_VIP										= "VIP";
	public static final String	PROVIDER_MTEL										= "MTEL";

	// VIP constants
	public static final String	VIP_DATE_FORMAT										= "yyyy-MM-dd hh:mm:ss";

	// Services
	public static final String	BAD_REQUEST_SERVICE_NAME							= "Bad Request Service";
	public static final String	FREE_OF_CHARGE_SERVICE_NAME							= "Free Of Charge";

	// Service communicator

	// configuration parameter keys
	public static final String	CONF_VIPCOMMUNICATOR_START_VASKO_WS_CLIENT			= "CONF_VIPCOMMUNICATOR_START_VASKO_WS_CLIENT";
	public static final String	CONF_VIPCOMMUNICATOR_VASKOWS_USERNAME				= "CONF_VIPCOMMUNICATOR_VASKOWS_USERNAME";
	public static final String	CONF_VIPCOMMUNICATOR_VASKOWS_PASSWORD				= "CONF_VIPCOMMUNICATOR_VASKOWS_PASSWORD";
	public static final String	CONF_VIPCOMMUNICATOR_OVERRIDE_ENDPOINT				= "CONF_VIPCOMMUNICATOR_OVERRIDE_ENDPOINT";
	public static final String	CONF_VIPCOMMUNICATOR_OVERRIDE_ENDPOINT_VALUE		= "CONF_VIPCOMMUNICATOR_OVERRIDE_ENDPOINT_VALUE";
	public static final String	CONF_VIPCOMMUNICATOR_URLCONNECTIONOPENER_ADDRESS	= "CONF_VIPCOMMUNICATOR_URLCONNECTIONOPENER_ADDRESS";
	public static final String	CONF_VIPCOMMUNICATOR_URLCONNECTIONOPENER_PERIOD		= "CONF_VIPCOMMUNICATOR_URLCONNECTIONOPENER_PERIOD";
	public static final String	CONF_VIP_PROVIDER_ID								= "CONF_VIP_PROVIDER_ID";
	public static final String	CONF_TELENOR_INIT_WSCLIENTS							= "CONF_TELENOR_INIT_WSCLIENTS";
	public static final String	CONF_TELENOR_CPA_USERNAME							= "CONF_TELENOR_CPA_USERNAME";
	public static final String	CONF_TELENOR_CPA_PASSWORD							= "CONF_TELENOR_CPA_PASSWORD";
	public static final String	CONF_TELENOR_CP_ID									= "CONF_TELENOR_CP_ID";
	public static final String	CONF_TELENOR_RETREIVE_MESSAGES_PERIOD				= "CONF_TELENOR_RETREIVE_MESSAGES_PERIOD";
	public static final String	CONF_TELENOR_CPSEQ_FILENAME							= "CONF_TELENOR_CPSEQ_FILENAME";
	public static final String	CONF_TELENOR_RECEIVE_SMS_CPSEQ_VALUE				= "CONF_TELENOR_RECEIVE_SMS_CPSEQ_VALUE";
	public static final String	CONF_TELENOR_DELIVERY_REQUEST_CPSEQ_VALUE			= "CONF_TELENOR_DELIVERY_REQUEST_CPSEQ_VALUE";
	public static final String	CONF_TELENOR_RETREIVE_DELIVERY_REPORTS_PERIOD		= "CONF_TELENOR_RETREIVE_DELIVERY_REPORTS_PERIOD";
	public static final String	CONF_TELENOR_OVERRIDE_ENDPOINT						= "CONF_TELENOR_OVERRIDE_ENDPOINT";
	public static final String	CONF_TELENOR_OVERRIDE_SENDSMS_ENDPOINT_VALUE		= "CONF_TELENOR_OVERRIDE_SENDSMS_ENDPOINT_VALUE";
	public static final String	CONF_TELENOR_OVERRIDE_RECEIVESMS_ENDPOINT_VALUE		= "CONF_TELENOR_OVERRIDE_RECEIVESMS_ENDPOINT_VALUE";
	public static final String	CONF_TELENOR_OVERRIDE_DELIVERY_ENDPOINT_VALUE		= "CONF_TELENOR_OVERRIDE_DELIVERY_ENDPOINT_VALUE";
	public static final String	CONF_TELENOR_SENDING_SPEED_MSGPERSEC				= "CONF_TELENOR_SENDING_SPEED_MSGPERSEC";

	// configuration parameter keys - messages
	public static final String	MESSAGE_BAD_SYNTAX									= "MESSAGE_BAD_SYNTAX";
	public static final String	MESSAGE_ERR_VAS_NOT_AVAILABLE						= "MESSAGE_ERR_VAS_NOT_AVAILABLE";
	public static final String	MESSAGE_ERR_SERVICE_NOT_AVAILABLE					= "MESSAGE_ERR_SERVICE_NOT_AVAILABLE";
	public static final String	MESSAGE_NOT_ENOUGHT_CREDIT_MTS_PRE_PAID				= "MESSAGE_NOT_ENOUGHT_CREDIT_MTS_PRE_PAID";
	public static final String	MESSAGE_NOT_ENOUGHT_CREDIT_MTS_POST_PAID			= "MESSAGE_NOT_ENOUGHT_CREDIT_MTS_POST_PAID";
	public static final String	MESSAGE_NOT_ENOUGHT_CREDIT_MTS_VIP					= "MESSAGE_NOT_ENOUGHT_CREDIT_MTS_VIP";
	public static final String	MESSAGE_NOT_ENOUGHT_CREDIT							= "MESSAGE_NOT_ENOUGHT_CREDIT";

	public static final String INTERNAL_EXCEPTOIN_FLAG = "INTERNAL";
	public static final String SERVICE_EXCEPTOIN_FLAG = "SERVICE";
}
